#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Create by zhang
# Create on 2022/6/24 6:34
class SchemaItem:
    def __init__(self, name:str, title:str, value_type, is_must=True):
        if issubclass(value_type, object) and name and title:
            self.name:str = name
            self.title:str = title
            self.value_type = value_type
            self.is_must = is_must